home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / console / svgatext.3 / svgatext / SVGATextMode-1.3 / TextConfig < prev    next >
Encoding:
Text File  |  1996-04-21  |  40.3 KB  |  915 lines

  1. #############################################################
  2. #                                                           #
  3. #   Configuration file for the "SVGATextMode" program       #
  4. #                                                           #
  5. #############################################################
  6. #
  7. # Created by: Koen Gadeyne
  8. #
  9. # DISCLAIMER: <include standard disclaimer here>
  10. #  in short: USE AT YOUR OWN RISK!!!
  11. #
  12. # READ THE MANUAL PAGE for a verbose explanation of the syntax of this file!
  13. #
  14. # NOTES:
  15. #
  16. # 0. Just for safety: use "savetextmode" to save your current textmode
  17. #    before trying anything of this stuff! If you get it wrong, you can
  18. #    always restore your screen with "textmode" (prepare to type that 
  19. #    "blindly": you might need to!). And to be even safer: do your first
  20. #    tests from the standard 80x25 mode, and do your "savetextmode" in
  21. #    that mode. It is not al all a sure thing that savetextmode will
  22. #    enable you to return your screen to its original condition.
  23. #
  24. #    Another option would be to start the X-Windows system before running
  25. #    SVGATextMode. X ALSO saves your text mode, and so when your text mode
  26. #    is screwed up, switching to X and back might restore the screen again
  27. #    (except for the screen SIZE...)
  28. #
  29. # 1. You can use "vgaset" to tune timing parameters, just as in X-Windows.
  30. #
  31. # 2. WARNING!!!!!!!!!!!
  32. #    Be absolutely sure that the CHIPSET is specified correctly! The code
  33. #    does ABSOLUTELY NO PROBING AT ALL, and will joyfully program your ET4000
  34. #    as an S3 chipset, and even pretend everything went OK. Don't ask me what
  35. #    horrific effects THAT can have...
  36. #    In case of doubt: use SuperProbe, or, better even: look at the XFree86
  37. #    confige file (/etc/XF86Config), or look at the VGA chip!
  38. #
  39. # 3. In case of trouble: read the doc/PROBLEMS file in the distribution. It tells 
  40. #    you what to do or try in case something doesn't work. Also _please_ don't
  41. #    forget to read the manuals. They contain lots of hints and background
  42. #    information, and most questions you were just about to ask me by E-mail are
  43. #    answered in there.
  44. #
  45. # ---
  46. # [Leave the lines below in here: it is used to detect the TextConfig file version]
  47. #@stm_version_number@.1.3
  48. #
  49. #
  50. #
  51. #############################################################
  52. #                                                           #
  53. #   WARNING: Do NOT blindly copy clock values in this file. #
  54. #            They are only an example! Use the REAL ones    #
  55. #            from YOUR video card!                          #
  56. #                                                           #
  57. #############################################################
  58.  
  59.  
  60. # This is for a "generic" VGA card. It should work on ANY VGA card, but can
  61. # only use the first 4 clocks
  62.  
  63. Chipset "VGA"
  64. Clocks  25.175 28.322
  65.  
  66. echo "The SVGATextMode config file is configured as `standard VGA' by default."
  67. echo "This is highly sub-optimal on modern VGA cards."
  68. echo "Edit the TextConfig file for your VGA card to enable the many extra features."
  69. echo "(and then you can also get rid of this message...)."
  70. echo ""
  71.  
  72.  
  73. #############################################################
  74. #
  75. # Now come the SVGA chipsets
  76.  
  77. #ChipSet    "S3"
  78.  
  79. #Clocks   25.175  28.322  40.00   0.00   50.00  77.00  36.00  44.90
  80. #Clocks   130.00  120.00  80.00  31.50  110.00  65.00  75.00  94.50
  81.  
  82. # For some S3 cards: pick one of the following clock chips (or RAMDAC's with
  83. # integrated clock chip).
  84. #ClockChip "icd2061a"
  85. #ClockChip "ics9161a"
  86. #ClockChip "dcs2834"
  87. #ClockChip "sc11412"
  88. #ClockChip "s3gendac"
  89. #ClockChip "s3_sdac"
  90. #ClockChip "S3Trio"
  91. #ClockChip "ti3025"
  92. #ClockChip "ics2595"
  93. #ClockChip "ics5300"
  94. #ClockChip "ics5342"
  95. #ClockChip "ch8391"
  96. #ClockChip "stg1703"
  97. #ClockChip "ti3026"
  98. #ClockChip "ibm_rgb5xx"
  99.  
  100. #Option "Legend"           # Some S3-based Legend cards without clockchip need this 
  101. #Option "SPEA_Mercury"     # ONLY for S3-964-based SPEA Mercury P64
  102. #Option "clockchip_x"      # icd2061a/ics9161 X/textmode fix -- see manual!
  103.  
  104. # One of these options might allow an even higher text mode pixel clock on
  105. # your S3 card. The "faster" you set it, the better things will get.
  106.  
  107. #Option "SLOW_DRAM"
  108. #Option "MED_DRAM"
  109. #Option "FAST_DRAM"
  110. #Option "XFAST_DRAM"
  111.  
  112. # This option enables S3 high-speed text modes for pixel clocks > 36 MHz.
  113. # USE WITH CAUTION! This needs a different font format in VGA memory. Read
  114. # the manual before using this! It will only be allowed when font loading is
  115. # enabled!
  116. # All S3 cards can use it to increase the maximum allowable pixel clock
  117. # before strange effects appear. Older S3 cards (911, 924, 928, ...) need
  118. # this option for modes with >36 MHz pixel clocks
  119.  
  120. #Option "S3_HSText"
  121.  
  122. # IBM RGB RAMDAC's absolutely _need_ this. You will have to copy this value
  123. # from the output of the XFree86 server startup messages. MAKE SURE THIS
  124. # VALUE IS CORRECT, OR _ALL_ MODES WILL BE WRONG!!! (see the manual for
  125. # details) ALSO DON'T FORGET TO ADD THE SAME OPTION TO YOUR XF86CONFIG FILE.
  126. # Letting the X-server probe for it will FAIL when doing so from a
  127. # non-standard text mode.
  128.  
  129. #RefClk 14.31818   # common values are: 14.31818, 16.0 , 24.0 and 50.0 MHz
  130.  
  131. #ChipSet    "ET4000"
  132. #Option "hibit_high"         # This option MUST be in your XF86Config file, too!!!
  133.  
  134. #Option ET4000_AltClockSel   # some VERY rare ET4000's need this for correct
  135.                              # clock selection. See the appropriate README!
  136.  
  137. #Option "Legend"             # Sigma Legend ET4000 boards need this.
  138.  
  139. #Clocks 25.2  28.3  32.5  36  40  44.9  31.5  37.6
  140. #Clocks 50    56.6  65    72  80  90    63    75 
  141.  
  142. #ClockChip "ics5341"         # some ET4000 W32p cards use this GenDAC
  143. #ClockChip "icd2061a"        # Diamond Stealth 32 cards use this chip
  144.  
  145.  
  146. #Chipset    "TVGA8900"
  147. #Clocks 25.175 28.3 45 36 58 65 50 40     
  148.  
  149. #Chipset    "TVGA8900"    # this is for a 8900CL card, it has 16 clocks.
  150. #Clocks 25.175 28.3 45 36 57 64 50 40 75 108 110 107 72 61 79 74
  151.  
  152.  
  153.  
  154. #Chipset    "WDC90C3x"
  155. #Clocks 25.175 28.3 65 36 40 50 32 45 31.5 35.5 74.5 72 30 77 86 80 60
  156.  
  157. #Option swap_hibit  # Some WDC's need this, but most don't. This inverts
  158.                     # clock selection bit 2 (=the third bit)
  159.  
  160. #Chipset    "WDC90C0x"
  161. #clocks  25.19  28.32  22.63  22.69  25.16  28.31  22.64  23.59  44.93
  162.  
  163.  
  164.  
  165. #Chipset    "ATI"
  166.  
  167. # It seems that the ATI clock lines from svgalib should work in SVGATextMode
  168. # as well. The following 8 lines are for ATI 28800-5 with 1Mb RAM, and ATI
  169. # 68830 15/16-bit HiColor DAC (according to SuperProbe)
  170.  
  171. #Clocks  30.27  31.91 109.96  79.82  42.73  48.72  91.97  37.81
  172. #Clocks  39.70  44.66  75.00  64.93  50.27  56.37   0.00  44.66
  173. #Clocks  15.13  15.96  54.95  32.78  21.37  24.30  46.09  17.99
  174. #Clocks  19.87  22.33  37.49  32.45  25.14  28.18   0.00  22.35
  175. #Clocks  10.08  10.71  36.69  26.59  14.25  16.38  32.17  12.30
  176. #Clocks  13.25  15.07  24.99  21.63  16.77  18.78   0.00  14.90
  177. #Clocks   7.60   7.98  27.47  19.96  10.77  12.15  22.99   9.05
  178. #Clocks   9.93  11.17  18.74  16.22  12.57  14.10   0.00  11.17
  179.  
  180. #Chipset    "ATIMACH32"            #  also used for MACH64
  181. #Clocks  100.00 126.00  92.40  36.00  50.35  56.64   0.00  44.90
  182. #Clocks  135.00  32.00 110.00  80.00  39.91  44.90  75.00  65.00
  183. #Clocks  50.00   63.00  46.20  18.00  25.17  28.32   0.00  22.45
  184. #Clocks  67.50   16.00  55.00  40.00  19.96  22.45  37.50  32.50
  185.  
  186.  
  187.  
  188. #Chipset    "CLGD542x"
  189. # NO clocks line required for Cirrus Chips.
  190. #Option "SLOW_DRAM"    #use one of these options to set Cirrus DRAM speed.
  191. #Option "MED_DRAM"     #The faster the better, but the more dangerous...
  192. #Option "FAST_DRAM"
  193. #Option "XFAST_DRAM"
  194. #ClockChip "Cirrus"
  195.  
  196.  
  197.  
  198. #Chipset    "Video7"    # HeadLand technologies chips only. NOT Video7
  199.                             # S3, Cirrus or C&T based cards
  200.  
  201. #Clocks   25.175 28.322 30.000 32.514 34.000 36.000 38.000 40.000
  202.  
  203.  
  204.  
  205. #Chipset    "ALI"    # Generic Avance Logic. It was tested only on AL2201
  206. #Clocks        25.15  28.32  22.26  36.06  37.40  32.51  31.17  40.00
  207. #clocks        50.31  56.58  44.51  72.25  74.84  65.08  62.40  79.31
  208.  
  209. #Chipset "AL2101"
  210. #clocks (no example known to me ; consult the XFree86 clocks line for your card)
  211.  
  212.  
  213.  
  214. #ChipSet "OTI67"
  215. #clocks (no example known to me ; consult the XFree86 clocks line for your card)
  216.  
  217. #ChipSet "OTI77"
  218. #clocks (no example known to me ; consult the XFree86 clocks line for your card)
  219.  
  220. #ChipSet "OTI87"
  221. #clocks  25.21  28.32  65.08  44.87  28.32  36.11  40.09  36.11
  222. #clocks  25.19  28.32  78.06  67.82  63.31  72.32  40.08  50.10
  223.  
  224.  
  225. #Chipset "SiS"
  226. #clocks (no example known to me ; consult the XFree86 clocks line for your card)
  227.  
  228.  
  229. #Chipset "RealTek"
  230. #clocks 25.175 28.3  22.5  36   37   32.5  42.5  40
  231. #clocks 50.3   56.6  45    72   74   65    85    80
  232.  
  233.  
  234. #Chipset "ARK"
  235. #clocks (no example known to me ; consult the XFree86 clocks line for your card)
  236.  
  237. #ClockChip "ics5342"   # some ARK chipsets (only ARK2000) use this clockchip
  238.  
  239.  
  240. #ChipSet "NCR77C22E"    # only NCR77C22E(+) will benefit from this. The NCR77C22
  241.                         # and 77C21 (without "E" suffix) will work just as well with the
  242.                         # generic VGA driver
  243. #ChipSet "NCR77C32"
  244. #clocks (no example known to me ; consult the XFree86 clocks line for your card)
  245.  
  246.  
  247. #ChipSet "GVGA"        # only for Genoa GVGA 6000 series (6100, 6200, 6300, ...)
  248.                        # The 5000 series is ET3000-based (use the ET4000 chipset)
  249.                        # the 7000 series is ET4000 based (use the ET4000 chipset)
  250. #clocks (no example known to me ; consult the XFree86 clocks line for your card)
  251.  
  252.  
  253. #ChipSet "MX"
  254. #clocks  25.175  28.322  40  44.9  14.3  16.3  36  65 
  255.  
  256.  
  257.  
  258. # for the really unsupported cards, or others using a special clock chip
  259. # (but first try the "Clockchip" option !).
  260.  
  261. #ClockProg "/usr/local/bin/ClockProg" 2
  262.  
  263.  
  264.  
  265.          
  266. #############################################################################
  267. #
  268. # In addition to the clocks specified above, the same clocks divided by 2 are
  269. # ALSO available on some VGA cards. (for as far as I know, that is a standard
  270. # VGA feature...).
  271. # Enable this ONLY when your card works for the "normal" clocks, and if you
  272. # need it (e.g. for 50x15 modes). This is NOT guaranteed to work on all
  273. # cards, and is useless on cards with a programmable clock chip.
  274. # Cirrus cards seem not to like this feature!
  275. #
  276. Option "ClockDiv2"
  277.  
  278. #############################################################################
  279. #
  280. # The "SyncDisks" option syncs your disks (=flushes the disk cache) before
  281. # doing anything. This is safer in case of a system hang caused by SVGATextMode.
  282. # In case of a crash, you'll still have a filesystem check, but the chance for
  283. # real damage is reduced considerably. I hope this option is useless...
  284. #
  285. # Once you think SVGATextMode is no more danger to your machine, disable this
  286. # option, and the "echo" lines.
  287. #
  288.  
  289. Option "SyncDisks"
  290.  
  291. echo "SVGATextMode NOTE:"
  292. echo "You may remove the `SyncDisks' option from the TextConfig file"
  293. echo "once SVGATextMode proves to work reliably on your machine."
  294. echo "This will make SVGATextMode run much faster."
  295. echo ""
  296.  
  297. #############################################################################
  298. #
  299. # The "UnderLine" line allows you to define your underline position yourself. 
  300. # The underline position is ALWAYS relative to a 32-high font: position 31
  301. # is the bottom-most line, which is also the default underline position
  302. # if the underline position is not defined.
  303. #
  304. # Examples: "15" will result in "strike-through" instead of underlining.
  305. #           "0"  will put a line on top of underlined text instead of below.
  306. #
  307. # When not defined, underlining is disabled.
  308. # 32-pixel high modes (font 8x32 and 9x32) will still be underlined.
  309. # (due to a VGA hardware limitation)
  310. #
  311.  
  312. #UnderLine 31
  313.  
  314.  
  315. #############################################################################
  316. #
  317. # The "Terminals" line tells SVGATextMode which _terminals_ to resize together
  318. # with the screen. What its use is depends on the kernel version you are
  319. # running (represented here by `K'):
  320. #
  321. #   K < 1.1.54 : useless. terminal resizing doesn't work on those.
  322. #
  323. #   1.1.54 <= K < 1.3.3 : resizes all VT's (virtual terminals) when a
  324. #                         terminals line is defined, otherwise SVGATextMode
  325. #                         resizes all active VT's upto the 16th (i.e.
  326. #                         /dev/tty1 upto /dev/tty16).
  327. #
  328. #   1.3.3 <= K : useless: the kernel resizes all active VT's automatically
  329. #
  330. #Terminals "tty6" "tty5" "tty4" "tty3" "tty2" "tty1"
  331.  
  332.  
  333. #############################################################################
  334. #
  335. # The "ResetProg" line defines a program that will be called after
  336. # SVGATextMode has succesfully finished its job. The primary use would be 
  337. # to let some applications know what happened (i.e. send them an appropriate
  338. # signal, or bluntly restart them), if they don't resize automatically 
  339. # after SVGATextMode finishes. e.g. selection.
  340. #
  341. # It will be called with TWO arguments: the H and V size of the new text 
  342. # mode. Example: SVGATextMode 100x37 will call
  343. #
  344. #      /etc/STM_reset 100 37
  345. # Your reset program NEED not use those two arguments, but it could be useful
  346. # for some applications. 
  347. #
  348.  
  349. #ResetProg "/etc/STM_reset"
  350.  
  351.  
  352. #############################################################################
  353. #
  354. # The "16color" option changes the default text console from 8 colors plus
  355. # blinking to 16 colors (what used to be blinking is now highlighted)
  356. #
  357.  
  358. #option "16color"
  359.  
  360.  
  361. #############################################################################
  362. #
  363. # The following lines are about automatic font loading:
  364. #  - 'Option LoadFont' enables the automatic font loading.
  365. #       If this line is commented out, no font loading will be done, 
  366. #       independent of the presence of "FontProg", "FontPath" or "FontSelect"
  367. #       lines.
  368. #  - 'FontProg ...' tells SVGATextMode where to find the font loading program
  369. #  - 'FontPath ...' will tell the font program where the fonts are located.
  370. #       the defaults for these two last ones are set in SVGATextMode.c, 
  371. #       and are as shown below in the commented lines (if these lines are
  372. #       commented out, the default paths will be used).
  373. #  - 'FontSelect ... ...' tells the font loading program what font to use
  374. #       for which font character cell sizes.
  375. #       I've pointed 4 different font sizes to the same font each time. This
  376. #       is not a requirement, but it's convenient (not much fonts for 9-pixel
  377. #       wide characters around, and the same goes for odd-sized font heights)
  378. #
  379.  
  380. Option "LoadFont"
  381. FontProg "/usr/bin/setfont"
  382. FontPath "/usr/lib/kbd/consolefonts"
  383. FontSelect "Cyr_a8x16"   8x16 9x16 8x15 9x15 
  384. FontSelect "Cyr_a8x14"   8x14 9x14 8x13 9x13
  385. FontSelect "8x12alt.psf" 8x12 9x12 8x11 9x11
  386. FontSelect "Cyr_a8x8"    8x8  9x8  8x7  9x7
  387. FontSelect "Cyr_a8x32"   8x32 9x32 8x31 9x31
  388.  
  389. #############################################################################
  390. #
  391. # For those not sattisfied with the default cursor look: here's a way to change
  392. # it. syntax is 'Cursor <start>-<stop>'. Cursor size is always relative to a
  393. # 32-pixel high font! (see TextConfig.doc). So '0-31' will be scaled to '0-7'
  394. # when selecting an 8-pixel font size.
  395.  
  396. #Cursor 0-31     # block cursor
  397. #Cursor 28-31     # underline cursor: the default.
  398.  
  399. #############################################################################
  400. #
  401. # The lines shown here are the default built into SVGATextMode. Most monitors
  402. # are capable of a lot more than that. Enable and change these to use the full 
  403. # capabilities of your monitor.
  404. # The syntax is similar to the one used in XF86Config.
  405. #
  406. # Changing these BEYOND what your monitor can handle, COULD result in damage
  407. # to the monitor! See your monitor's user's manual for details.
  408. #
  409.  
  410. #HorizSync 30-32
  411. #VertRefresh 50-80
  412.  
  413.  
  414. #############################################################################
  415. #
  416. # Optionally define the "default" mode, which will be called when SVGATextMode
  417. # is started _without_ a mode definition string.
  418. #
  419.  
  420. DefaultMode "80x25"
  421.  
  422.  
  423. #############################################################################
  424. #
  425. # The Maximum allowable pixel clock for text mode.
  426. # Each chipset has it's own maximum, which had to be determined through 
  427. # experimentation (not many manufacturers care to mention them in their data
  428. # sheets). See the TextConfig manual file for details.
  429. #
  430. # This limit is taken as-is for 8-pixel wide fonts, but is increased by a factor
  431. # of 9/8 for 9-pixel fonts. This is due to the construction of VGA textmode
  432. # hardware.
  433. #
  434.  
  435. #DacSpeed 45
  436.  
  437. #############################################################################
  438. #
  439. # Set border color index (range: 0 to 255).
  440. # Completely useless. This will "draw" a colored border around the active
  441. # screen region. I did this because XFree86 can't ;-)
  442. #
  443. # You might use this to center the display when setting up SVGATextMode.
  444. #
  445.  
  446. #BorderColor 0
  447.  
  448.  
  449. #############################################################################
  450. #############################################################################
  451. #
  452. # Standard 80x25 text mode: this should ALWAYS work (i.e. no timing problems
  453. # because of a too large pixel clock)
  454. # If this works, then at least PART of the program works fine... 
  455. #
  456.  
  457. "80x25"          28.3    640  680  776  800    400  412  414  449 font  9x16
  458.  
  459. # Below are a bunch of other possible modes for standard VGA chipsets. 
  460. #
  461. #############################################################################
  462. #                                                                           #
  463. # Read the TextConfig manual to find out about 8- and 9-pixel wide fonts.   #
  464. # You will never be able to create (or even understand) new modes without   #
  465. # that piece of knowledge.                                                  #
  466. #                                                                           #
  467. #############################################################################
  468.  
  469. "80x25x8"          25.2   640  680  776  800    400  412  414  449 font  8x16
  470. "80x25x9"          28.3   640  680  776  800    400  412  414  449 font  9x16
  471.  
  472. "80x28x8"          25.2   640  680  776  800    392  412  414  449 font  8x14
  473. "80x28x9"          28.3   640  680  776  800    392  412  414  449 font  9x14
  474.  
  475. "80x29x8"          25.2   640  680  776  800    464  490  492  525 font  8x16
  476. "80x29x9"          28.3   640  680  776  800    464  490  492  525 font  9x16
  477.  
  478. "80x30x8"          25.2   640  680  776  800    480  490  492  525 font  8x16
  479. "80x30x9"          28.3   640  680  776  800    480  490  492  525 font  9x16
  480.  
  481. "80x32x8"          25.2   640  680  776  800    480  490  492  525 font  8x15
  482. "80x32x9"          28.3   640  680  776  800    480  490  492  525 font  9x15
  483.  
  484. "80x33x8"          25.2   640  680  776  800    396  412  414  449 font  8x12
  485. "80x33x9"          28.3   640  680  776  800    396  412  414  449 font  9x12
  486.  
  487. "80x34x8"          25.2   640  680  776  800    480  490  492  525 font  8x14
  488. "80x34x9"          28.3   640  680  776  800    480  490  492  525 font  9x14
  489.  
  490. "80x40x8"          25.2   640  680  776  800    480  490  492  525 font  8x12
  491. "80x40x9"          28.3   640  680  776  800    480  490  492  525 font  9x12
  492.  
  493. "80x43x8"          25.2   640  680  776  800    473  489  491  525 font  8x11
  494. "80x43x9"          28.3   640  680  776  800    473  489  491  525 font  9x11
  495.  
  496. "80x43x8_small"    25.2   640  680  776  800    387  408  410  449 font   8x9
  497. "80x43x9_small"    28.3   640  680  776  800    387  408  410  449 font   9x9
  498.  
  499. "80x50x8"          25.2   640  680  776  810    400  412  414  449 font   8x8
  500. "80x50x9"          28.3   640  680  776  800    400  412  414  449 font   9x8
  501.  
  502. "80x60x8"          25.2   640  680  776  800    480  490  492  525 font   8x8
  503. "80x60x9"          28.3   640  680  776  800    480  490  492  525 font   9x8
  504.  
  505.  
  506. #
  507. # The other standard VGA modes (132-character wide).
  508. # This SHOULD work on any card... assuming you tell SVGATextMode where the
  509. # 40 and 45 MHz clocks can be found.
  510. # (It was grabbed from a Trident card)
  511. #
  512.  
  513. "132x25x8"         40  1056 1072 1232 1280    400  412  414  449 font  8x16
  514. "132x25x9"         45  1056 1072 1232 1280    400  412  414  449 font  9x16
  515.  
  516. "132x28x8"         40  1056 1072 1232 1280    392  412  414  449 font  8x14
  517. "132x28x9"         45  1056 1072 1232 1280    392  412  414  449 font  9x14
  518.  
  519. "132x29x8"         40  1056 1072 1232 1280    464  490  492  525 font  8x16
  520. "132x29x9"         45  1056 1072 1232 1280    464  490  492  525 font  9x16
  521.  
  522. "132x30x8"         40  1056 1072 1232 1280    480  490  492  525 font  8x16
  523. "132x30x9"         45  1056 1072 1232 1280    480  490  492  525 font  9x16
  524.  
  525. "132x32x8"         40  1056 1072 1232 1280    480  490  492  525 font  8x15
  526. "132x32x9"         45  1056 1072 1232 1280    480  490  492  525 font  9x15
  527. "132x33x8"         40  1056 1072 1232 1280    396  412  414  449 font  8x12
  528. "132x33x9"         45  1056 1072 1232 1280    396  412  414  449 font  9x12
  529.  
  530. "132x34x8"         40  1056 1072 1232 1280    480  490  492  525 font  8x14
  531. "132x34x9"         45  1056 1072 1232 1280    480  490  492  525 font  9x14
  532.  
  533. "132x40x8"         40  1056 1072 1232 1280    480  490  492  525 font  8x12
  534. "132x40x9"         45  1056 1072 1232 1280    480  490  492  525 font  9x12
  535.  
  536. "132x43x8"         40  1056 1072 1232 1280    480  490  492  525 font  8x11
  537. "132x43x9"         45  1056 1072 1232 1280    480  490  492  525 font  9x11
  538.  
  539. "132x43x8_small"   40  1056 1072 1232 1280    387  408  410  449 font   8x9
  540. "132x43x9_small"   45  1056 1072 1232 1280    387  408  410  449 font   9x9
  541.  
  542. "132x44x8"         40  1056 1072 1232 1280    352  387  389  449 font   8x8
  543. "132x44x9"         45  1056 1072 1232 1280    352  387  389  449 font   9x8
  544.  
  545. "132x50x8"         40  1056 1072 1232 1280    400  412  414  449 font   8x8
  546. "132x50x9"         45  1056 1072 1232 1280    400  412  414  449 font   9x8
  547.  
  548. "132x60x8"         40  1056 1072 1232 1280    480  490  492  525 font   8x8
  549. "132x60x9"         45  1056 1072 1232 1280    480  490  492  525 font   9x8
  550.  
  551.  
  552. #
  553. # Slightly improved versions of the above: 12-pixel font instead of
  554. # 11. Looks definitely better (when using a suitable font), and the
  555. # relatively low refresh rate (55 HZ) is no problem for white-on-black text
  556. # If you have a multisync monitor, you can increase the clock, resulting
  557. # in a higher refresh.
  558. #
  559.  
  560. "132x43x8_12"      40  1056 1072 1232 1280    516  529  531  568 font  8x12
  561. "132x43x9_12"      45  1056 1072 1232 1280    516  529  531  568 font  9x12
  562.  
  563. #
  564. # Improving upon the standard 132x... modes, these modes give a slightly less
  565. # crammed display, using only 116 chars per line instead of 132.
  566. # The 36 MHz clock is a little more exotic, but is almost always available.
  567.  
  568. "116x25x8"         36   928  944 1088 1144    400  412  414  449 font  8x16
  569. "116x25x9"         40   928  944 1080 1128    400  412  414  449 font  9x16
  570.  
  571. "116x28x8"         36   928  944 1088 1144    392  412  414  449 font  8x14
  572. "116x28x9"         40   928  944 1080 1128    392  412  414  449 font  9x14
  573.  
  574. "116x29x8"         36   928  944 1088 1144    464  490  492  525 font  8x16
  575. "116x29x9"         40   928  944 1080 1128    464  490  492  525 font  9x16
  576.  
  577. "116x30x8"         36   928  944 1088 1144    480  490  492  525 font  8x16
  578. "116x30x9"         40   928  944 1080 1128    480  490  492  525 font  9x16
  579.  
  580. "116x32x8"         36   928  944 1088 1144    480  490  492  525 font  8x15
  581. "116x32x9"         40   928  944 1080 1128    480  490  492  525 font  9x15
  582.  
  583. "116x33x8"         36   928  944 1088 1144    396  412  414  449 font  8x12
  584. "116x33x9"         40   928  944 1080 1128    396  412  414  449 font  9x12
  585.  
  586. "116x34x8"         36   928  944 1088 1144    480  490  492  525 font  8x14
  587. "116x34x9"         40   928  944 1080 1128    480  490  492  525 font  9x14
  588.  
  589. "116x40x8"         36   928  944 1088 1144    480  490  492  525 font  8x12
  590. "116x40x9"         40   928  944 1080 1128    480  490  492  525 font  9x12
  591.  
  592. "116x43x8"         36   928  944 1088 1144    480  490  492  525 font  8x11
  593. "116x43x9"         40   928  944 1080 1128    480  490  492  525 font  9x11
  594.  
  595. "116x50x8"         36   928  944 1088 1144    400  412  414  449 font   8x8
  596. "116x50x9"         40   928  944 1080 1128    400  412  414  449 font   9x8
  597.  
  598. "116x60x8"         36   928  944 1088 1144    480  490  492  525 font   8x8
  599. "116x60x9"         40   928  944 1080 1128    480  490  492  525 font   9x8
  600.  
  601.  
  602. ###############################################################################
  603. # It's time to try some more exotic (= non-standard) modes...
  604. #
  605. # A bit smaller than the IMMENSELY BIG characters at 80x25, but still very
  606. # readable. Most cards support 132x43 as a standard mode as well, but that is
  607. # rather "small print" then. All these modes need a 48 kHz/72 Hz monitor (VESA
  608. # 800x600 @ 72 Hz standard).
  609. #
  610. "100x37"           50   800  872  976 1040    600  632  638  670 font  8x16
  611. "100x37x9"         56   800  872  976 1040    600  632  638  670 font  9x16
  612. "100x40"           50   800  848  952 1040    640  672  678  700 font  8x16
  613. "100x40x9"         56   800  848  952 1040    640  672  678  700 font  9x16
  614. "112x40"           62   896  948 1052 1140    640  672  678  700 font  9x16
  615.   
  616. # If your monitor can take 70 kHz (!) and 110 Hz, this one could make for a
  617. # VERY stable, eye-friendly resolution.
  618. "100x37+"          72   800  848  952 1032    600  600  606  630 font  8x16
  619.  
  620. #
  621. # If your monitor can't handle 48 kHz, try this: It's only 38 kHz/55 Hz,
  622. # but almost all VGA cards should work with this. And cheapo SVGA monitors too.
  623. #
  624. "100x37x8_SVGA"    40   800  864  968 1056    600  605  607  628 font  8x16
  625. "100x37x9_SVGA"    45   800  864  968 1056    600  605  607  628 font  9x16
  626.  
  627. #
  628. # This has the same frequencies as a standard VGA text mode (31.5 kHz/60 Hz)
  629. #
  630. "100x37_VGA"       36   800  864  968 1016    518  522  525  545 font  9x14
  631.  
  632. #
  633. # This is an enhancement to the standard 132x43 resolution. It uses a 16-pixel 
  634. # font height instead of just 8. In combination with an appropriate font -- and
  635. # maybe a good monitor -- this is NOT bad at all.
  636. # needs 48 kHz/70 Hz monitor
  637. #
  638. "132x43x8_16"      65  1056 1096 1216 1336    688  688  694  714  font  8x16
  639. "132x43x9_16"      75  1056 1096 1216 1336    688  688  694  714  font  9x16
  640.  
  641. #
  642. # If you need BIG letters, try this one. This needs a 49kHz/96Hz monitor.
  643.  
  644. "50x15"            25   400  424  488  512    240  241  242  256 font  8x16 DoubleScan
  645.  
  646. #
  647. # If your monitor cannot handle that, use a 18 MHz clock. But that needs the
  648. # "divide-by-two" feature (which should work on all VGA cards), dividing the
  649. # (almost standard) 36 MHz clock down to 18 MHz, yielding 35kHz/68Hz, which
  650. # should work on almost any screen, even the cheapest.
  651. "50x15_low"        18   400  424  488  512    240  241  242  256 font  8x16 DoubleScan
  652.  
  653. # These modes should work on ALL VGA monitors. 
  654. # They use standard VGA 31.25 kHz / 60 Hz timings
  655. "50x15_VGA"        16   400  456  488  512    240  241  242  256 font  8x16 DoubleScan
  656. "40x15x8"      12.587   320  352  376  400    240  241  242  256 font  8x16 DoubleScan
  657. "40x15x9"       14.15   320  352  376  400    240  241  242  256 font  9x16 DoubleScan
  658. "40x12x8"      12.587   320  352  376  400    200  206  207  225 font  8x16 DoubleScan
  659. "40x12x9"       14.15   320  352  376  400    200  206  207  225 font  9x16 DoubleScan
  660.  
  661. ###############################################################################
  662. #
  663. # Some VESA compliant very-high resolution modes. Don't try this on Trident 
  664. # or Cirrus cards. S3's can handle it, although you might notice some garbage
  665. # while scrolling. This should be of no concern. I can live with that. ET4000's
  666. # REALLY show off on these. Expensive cards too, but that's what you paid for.
  667. # These modes have the same timings as a VESA 1024x768 mode at 70 Hz under
  668. # X-windows. If you happen to own a single frequency monitor at 56 kHz, this
  669. # is your ticket to paradise!
  670. #
  671. "v132x43"          75  1056 1096 1248 1336    774  783  784  800 font  8x18
  672. "v132x48"          75  1056 1096 1248 1336    768  783  784  800 font  8x16
  673. "v132x55"          75  1056 1096 1248 1336    770  783  784  800 font  8x14
  674. "v132x60"          75  1056 1096 1248 1336    780  783  784  800 font  8x13
  675. "v132x64"          75  1056 1096 1248 1336    768  783  784  800 font  8x12
  676. "v132x70"          75  1056 1096 1248 1336    770  783  784  800 font  8x11
  677. #
  678. # On cards that are JUST not fast enough for the modes above, try the
  679. # ones below. They use 9-pixel wide fonts, and the SAME clocks.
  680. # But they work BETTER (see doc/PROBLEMS for a description of WHY:
  681. # the chapter on "character bandwidth").
  682. #
  683. "v116x43"          75   928  976 1112 1192    774  783  784  800 font  9x18
  684. "v116x48"          75   928  976 1112 1192    768  783  784  800 font  9x16
  685. "v116x55"          75   928  976 1112 1192    770  783  784  800 font  9x14
  686. "v116x60"          75   928  976 1112 1192    780  783  784  800 font  9x13
  687. "v116x64"          75   928  976 1112 1192    768  783  784  800 font  9x12
  688. "v116x70"          75   928  976 1112 1192    770  783  784  800 font  9x11
  689. #
  690. # Similar horizontal refresh frequencies (56 kHz) for some other common 
  691. # and not-so-common modes (I guess the "S" prefix stands for "super": try it!)
  692. #
  693. # Especially the 80x... modes are a real enhancement over the original one.
  694. #
  695. "S80x25"           55   640  704  800  872    400  405  410  417 font  9x16 DoubleScan
  696. "S80x12"           55   640  704  800  872    400  405  410  417 font  9x32 DoubleScan
  697. "S80x50"           55   640  704  800  872    800  810  820  835 font  9x16
  698. "S80x66"           55   640  704  800  872    800  810  820  835 font  9x12
  699. "S80x100"          55   640  704  800  872    800  810  820  835 font  9x8
  700. "S100x37"          65   800  832  936 1024    600  632  638  670 font  9x16
  701. "S100x40"          65   800  832  936 1024    640  672  678  700 font  9x16
  702. "S100x48"          65   800  832  936 1024    768  783  784  800 font  9x16
  703. "S50x15"           32.5 400  432  496  512    240  241  242  256 font  9x16 DoubleScan
  704. "S128x48"          85  1024 1096 1248 1344    768  768  769  800 font  9x16
  705.  
  706. #
  707. # This one is completely nuts. You'll know why once you see this on a 20" screen...
  708. #
  709. "MEGA20x7"  15.12  160 200 224 240   240  241  242  256 font 9x32 doublescan
  710.  
  711. ###########################################################################
  712. # For as far as I know, of all the "cheap" cards, only ET4000 can handle clocks
  713. # this big... But WHAT A RESULT!!! Once you've seen this, you're hooked!
  714. # You will need at least a 17" screen for the 160 char wide modes!
  715. # (except if you have 20/10 vision...)
  716. #
  717. # Some S3 cards will also work with these, especially when the "S3_HSText" 
  718. # option is enabled (read the manual first!).
  719. #
  720. "ET132x66"         90  1056 1088 1240 1336    800  820  830  850 font  8x12
  721. "ET160x100"        90  1280 1312 1480 1560    800  820  830  850 font   8x8
  722. "ET160x66"         90  1280 1312 1480 1560    800  820  830  850 font  8x12
  723. "ET132x43"         90  1056 1096 1216 1336    688  688  694  714 font  8x16
  724.  
  725. #
  726. # If you want to get a taste of a 160-wide mode, try this one. It runs on 
  727. # standard VGA frequencies, so any monitor should at least sync on it.
  728. #
  729. "160x60"           49  1280 1312 1480 1592    480  489  491  521 font   8x8
  730. "160x60x9"         56  1280 1312 1480 1592    480  489  491  521 font   9x8
  731.  
  732. #
  733. # Who says exagerating isn't fun ? 
  734. #
  735. "80x25_160HZ"      56   640  680  776  800    400  412  414  449 font  8x16
  736.  
  737. #
  738. # A little more moderate, but useful: high-refresh 80x25.
  739. #
  740. "80x25_100Hz"      36   640  680  776  800    400  412  414  449 font  8x16
  741.  
  742. #
  743. # Bigger is better...
  744. #
  745. "180x80"           75  1440 1536 1636 1816    640  648  654  670 font   9x8
  746.  
  747. #
  748. # For those really high-frequency fixed-frequency screens,
  749. # here's a few text modes that should run on 1280x1024 @ 70 Hz monitors:
  750. # (it's 74.4 kHz / 70 Hz)
  751. #
  752. # The trick here is to create modes that still use a reasonable pixel clock.
  753. # Creating a mode for such a monitor is as simple as taking the XFree86
  754. # mode line and adding a "font ..." statement. But then you'd also have to 
  755. # copy the pixel clock, and 110 MHz text mode clocks don't work on any card
  756. # I've seen so far.
  757. #
  758. "H100x30"          75   800  832  936 1008    480 500  508  532  font  8x16 DoubleScan
  759. "H80x30"           65   640  672  744  776    480 500  508  532  font  9x16 DoubleScan
  760. "H80x60"           65   640  672  744  776    960 1000 1016 1064 font  9x16
  761.  
  762.  
  763. ###############################################################################
  764. #
  765. # Following are some user-contributed text modes.
  766. # If they don't work: complain to the respective authors, not me ;-)
  767. #
  768. # These modes need a multisync monitor. Most will NOT work on "standard" SVGA screens.
  769. # Use the "-n" option to see if your monitor supports them
  770. #
  771. # Carsten Zimmermann (zimmermann@zimnet.hanse.de)
  772. "132x43_hi"        50  1056 1104 1264 1320    344  387  389  449 font   8x8
  773. "132x43_semihi"    45  1056 1104 1264 1320    344  387  389  449 font   8x8
  774. "132x43_14"        50  1056 1096 1216 1336    688  688  694  714 font  8x14
  775. "Z160x60"          58  1280 1312 1432 1560    480  489  491  521 font   8x8
  776. #
  777. # Alexander JOLK (p6mqt001@cicrp.jussieu.fr)
  778. "100x30x8"         36   800  864  896 1016    480  481  483  500 font  8x16
  779. "100x30x9"         40   800  840  872 1016    480  481  483  500 font  9x16
  780. #
  781. # Andreas Beck (becka@hp817s.rz.uni-duesseldorf.de)
  782. "A55x41"           25   440  464  536  560    328  339  341  380 font   8x8
  783. "A55x33"           25   440  464  536  560    330  339  341  380 font  8x10
  784. "A55x27"           25   440  464  536  560    324  339  341  380 font  8x12
  785. "A55x23"           25   440  464  536  560    322  339  341  380 font  8x14
  786. "A55x20"           25   440  464  536  560    320  339  341  380 font  8x16
  787. #
  788. "A65x48"           25   520  544  616  640    384  399  401  440 font   8x8
  789. "A65x38"           25   520  544  616  640    380  399  401  440 font  8x10
  790. "A65x32"           25   520  544  616  640    384  399  401  440 font  8x12
  791. "A65x27"           25   520  544  616  640    378  399  401  440 font  8x14
  792. "A65x24"           25   520  544  616  640    384  399  401  440 font  8x16
  793. #
  794. "A80x60"           40   640  664  736  824    480  489  491  530 font   8x8
  795. "A80x48"           40   640  664  736  824    480  489  491  530 font  8x10
  796. "A80x40"           40   640  664  736  824    480  489  491  530 font  8x12
  797. "A80x34"           40   640  664  736  824    476  489  491  530 font  8x14
  798. "A80x30"           40   640  664  736  824    480  489  491  530 font  8x16
  799. #
  800. "A100x75"          70   800  856  936 1096    600  637  643  666 font   8x8
  801. "A100x60"          70   800  856  936 1096    600  637  643  666 font  8x10
  802. "A100x50"          70   800  856  936 1096    600  637  643  666 font  8x12
  803. "A100x43"          70   800  856  936 1096    602  637  643  666 font  8x14
  804. "A100x37"          70   800  856  936 1096    592  637  643  666 font  8x16
  805. #
  806. "A104x78"          70   832  888  968 1128    624  661  667  690 font   8x8
  807. "A104x62"          70   832  888  968 1128    620  661  667  690 font  8x10
  808. "A104x52"          70   832  888  968 1128    624  661  667  690 font  8x12
  809. "A104x44"          70   832  888  968 1128    616  661  667  690 font  8x14
  810. "A104x39"          70   832  888  968 1128    624  661  667  690 font  8x16
  811. #
  812. "A128x96"          70  1024 1072 1152 1360    768  784  787  810 font   8x8
  813. "A128x77"          70  1024 1072 1152 1360    770  784  787  810 font  8x10
  814. "A128x64"          70  1024 1072 1152 1360    768  784  787  810 font  8x12
  815. "A128x54"          70  1024 1072 1152 1360    756  784  787  810 font  8x14
  816. "A128x48"          70  1024 1072 1152 1360    768  784  787  810 font  8x16
  817. #
  818. "A144x109"         70  1152 1208 1280 1536    872  886  889  912 font   8x8
  819. "A144x87"          70  1152 1208 1280 1536    870  886  889  912 font  8x10
  820. "A144x72"          70  1152 1208 1280 1536    864  886  889  912 font  8x12
  821. "A144x62"          70  1152 1208 1280 1536    868  886  889  912 font  8x14
  822. "A144x54"          70  1152 1208 1280 1536    864  886  889  912 font  8x16
  823. #
  824. "A150x108"         70  1200 1248 1312 1560    864  916  919  942 font   8x8
  825. "A150x86"          70  1200 1248 1312 1560    860  916  919  942 font  8x10
  826. "A150x72"          70  1200 1248 1312 1560    864  916  919  942 font  8x12
  827. "A150x61"          70  1200 1248 1312 1560    854  916  919  942 font  8x14
  828. "A150x54"          70  1200 1248 1312 1560    864  916  919  942 font  8x16
  829. #
  830. "A150x89"          70  1200 1248 1312 1560    890  916  919  942 font  8x10
  831. "A150x74"          70  1200 1248 1312 1560    888  916  919  942 font  8x12
  832. "A150x63"          70  1200 1248 1312 1560    882  916  919  942 font  8x14
  833. "A150x55"          70  1200 1248 1312 1560    880  916  919  942 font  8x16
  834. #
  835. # Ulrich Dessauer (ud@nitmar.muc.de)
  836. "90x30"            40   720  790  840  930    420  425  433  455 font  8x14
  837. #
  838. # John Bashaw (paladin@netcom.com)
  839. "110x50_hi"        56   880  960 1160 1200    700  702  712  735 font  8x14
  840. #
  841. # Be carefull with these! They use EXTREMELY high clocks (for text mode)
  842. # Delman Lee (delman@mipg.upenn.edu)
  843. "160x64"          110  1280 1304 1480 1696   1024 1024 1027 1061 font  8x16
  844. "160x32"          110  1280 1304 1480 1696   1024 1024 1027 1061 font  8x32
  845. "160x30"          108  1280 1304 1480 1696    960  986  989 1023 font  8x32
  846. "108x60"           80   864  964 1104 1256    960  986  989 1023 font  8x16
  847.  
  848. #
  849. # Some more 56 kHz modes, which all use 20-pixel high fonts (as used 
  850. # in a commercial DOS program that does about the same as SVGATextMode)
  851. #
  852. # They work on any monitor that can do 1024x768 at 70 Hz (= 56kHz/70 Hz)
  853. #
  854. "B80x38"           53   640  678  762  838    768  768  769  800  font 9x20
  855. "B80x41"           53   640  678  762  838    820  820  830  850  font 9x20
  856. "B84x38"           55   672  712  800  880    768  768  769  800  font 9x20
  857. "B84x41"           55   672  712  800  880    820  820  830  850  font 9x20
  858. "B92x38"           60   736  776  872  952    768  768  769  800  font 9x20
  859. "B92x41"           60   736  776  872  952    820  820  830  850  font 9x20
  860. "B100x38"          65   800  840  944 1032    768  768  769  800  font 9x20
  861. "B100x41"          65   800  840  944 1032    820  820  830  850  font 9x20
  862. "B108x38"          70   864  904 1032 1112    768  768  769  800  font 9x20
  863. "B108x41"          70   864  904 1032 1112    820  820  830  850  font 9x20
  864. "B116x38"          75   928  968 1104 1192    768  768  769  800  font 9x20
  865. "B116x41"          75   928  968 1104 1192    820  820  830  850  font 9x20
  866. "B124x38"          80   992 1032 1176 1272    768  768  769  800  font 9x20
  867. "B124x41"          80   992 1032 1176 1272    820  820  830  850  font 9x20
  868. "B142x38"          95  1136 1208 1332 1496    768  768  769  800  font 9x20
  869. "B142x41"          95  1136 1208 1332 1496    820  820  830  850  font 9x20
  870. "B165x38"          110 1320 1404 1552 1744    768  768  769  800  font 9x20
  871. "B165x41"          110 1320 1404 1552 1744    820  820  830  850  font 9x20
  872.  
  873. #
  874. # The same modes, but now using 16-pixel fonts (and thus more text lines)
  875. #
  876. "B80x48"           53   640  678  762  838    768  768  769  800  font 9x16
  877. "B80x51"           53   640  678  762  838    816  820  830  850  font 9x16
  878. "B84x48"           55   672  712  800  880    768  768  769  800  font 9x16
  879. "B84x51"           55   672  712  800  880    816  820  830  850  font 9x16
  880. "B92x48"           60   736  776  872  952    768  768  769  800  font 9x16
  881. "B92x51"           60   736  776  872  952    816  820  830  850  font 9x16
  882. "B100x48"          65   800  840  944 1032    768  768  769  800  font 9x16
  883. "B100x51"          65   800  840  944 1032    816  820  830  850  font 9x16
  884. "B108x48"          70   864  904 1032 1112    768  768  769  800  font 9x16
  885. "B108x51"          70   864  904 1032 1112    816  820  830  850  font 9x16
  886. "B116x48"          75   928  968 1104 1192    768  768  769  800  font 9x16
  887. "B116x51"          75   928  968 1104 1192    816  820  830  850  font 9x16
  888. "B124x48"          80   992 1032 1176 1272    768  768  769  800  font 9x16
  889. "B124x51"          80   992 1032 1176 1272    816  820  830  850  font 9x16
  890. "B142x48"          95  1136 1208 1332 1496    768  768  769  800  font 9x16
  891. "B142x51"          95  1136 1208 1332 1496    816  820  830  850  font 9x16
  892. "B165x48"          110 1320 1404 1552 1744    768  768  769  800  font 9x16
  893. "B165x51"          110 1320 1404 1552 1744    816  820  830  850  font 9x16
  894.  
  895. #
  896. # Some more fantasy modes. All are 56 kHz Hsync frequency modes
  897. #
  898. "B160x64"         94.5  1280 1348 1432 1680   1024 1024 1027 1061  font 8x16
  899. "B160x48"         94.5  1280 1348 1432 1680    768  770  774  800  font 8x16
  900. "B160x32"         94.5  1280 1348 1432 1680   1024 1024 1027 1061  font 8x32
  901. "B160x100"        94.5  1280 1352 1472 1680    800  809  819  850  font 8x8
  902.  
  903.  
  904. ###############################################################################
  905. # CUSTOM modes: put your own modes (new or adapted from above) here.
  906. #               You don't HAVE to rename them, since SVGATextMode will
  907. #               take the LAST line it finds with the same name.
  908. #
  909. # You can also put all your config options HERE instead of leaving them where
  910. # they are somewhere in between the rest of the junk. This way upgrading to a
  911. # newer TextConfig file is just a matter of cutting and pasting this bottom
  912. # part into your new TextConfig file.
  913. #
  914.